package com.hsjk.szwj.module.train.dal.dataobject.course;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hsjk.szwj.framework.tenant.core.db.TenantBaseDO;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/08/04 00:02
 **/
@TableName("train_course_knowledge_point")
@Data
@EqualsAndHashCode(callSuper = true)
public class CourseKnowledgePointDO extends TenantBaseDO {
    /**
     * 自增ID
     */
    @TableId
    private Long id;
    /**
     * 知识点名称
     */
    private String pointName;
    /**
     * 知识点框架ID
     */
    private Long knowledgeFrameworkId;
    /**
     * 父级id
     */
    private Long parentId;
    /**
     * 是否是叶子节点
     */
    private Boolean isLeaf;
    /**
     * 排序
     */
    private Integer sortNo;
}
